#ifndef CHR0IMPORT_H_INCLUDED
#define CHR0IMPORT_H_INCLUDED

#include "main.h"
#include "TaLib.h"

#define  USE_IMPORT_FUNC
//plugin
TA_PLUGIN_EXPORT void 	TaGetSdkVersion (DWORD *pVersionMS, DWORD *pVersionLS);
//get sdk version

TA_PLUGIN_EXPORT LPCTSTR 	TaGetProductName ();
TA_PLUGIN_EXPORT LPCTSTR 	TaGetProductVersion ();
TA_PLUGIN_EXPORT LPCTSTR 	TaGetManufacturerName ();
TA_PLUGIN_EXPORT UINT 	TaGetPluginElements ();
TA_PLUGIN_EXPORT BOOL 	TaInitPlugin (HMODULE hModule);

//import
TA_PLUGIN_EXPORT UINT 	TaGetImportFileTypeCount ();
//import type count

TA_PLUGIN_EXPORT LPCTSTR 	TaGetImportFileType (UINT nIndex);
//get type

TA_PLUGIN_EXPORT LPCTSTR 	TaGetImportFileExt (UINT nIndex);
//get extention

TA_PLUGIN_EXPORT BOOL 	TaImportFile (UINT nIndex, LPCTSTR pszFilePath, CTaScene *pScene, CTaObject *pRootModel);
 //import file
#endif // CHR0IMPORT_H_INCLUDED
